package cn.tedu.blackhorse.service;

import cn.tedu.blackhorse.pojo.dto.UserAddNewDTO;
import cn.tedu.blackhorse.pojo.entity.User;
import cn.tedu.blackhorse.pojo.vo.UserListItemVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
public interface IUserService {

    void studentLogin(User user);


    void addNew(UserAddNewDTO addNewDTO);


    void deleteById(Long id);


     List<UserListItemVO> list();



}
